#include "Space.h"



Space::Space()
{
}


Space::~Space()
{
}

double ** Space::CreateDouble(int n1, int n2)
{
	double **p = new double*[n1];
	for (int i = 0; i < n1; i++)
	{
		p[i] = new double[n2];
	}
	return p;
}

void Space::DeleteDouble(double ** p, int n1)
{
	for (int i = 0; i < n1; i++)
	{
		delete [] p[i];
		//p[i] = nullptr;
	}
	delete[]p;
	//p = nullptr;
}
